package com.cyt.reward.service;

import com.cyt.base.model.dto.ReturnResult;
import com.cyt.reward.model.po.RewardMoney;
import com.cyt.reward.model.vo.RewardMoneyVo;
import com.cyt.sys.model.po.SysUser;
import com.cyt.sys.service.BaseService;

import java.util.List;

/**
 * 打赏功能-打赏金额管理Service层接口类
 *
 * @author rong yuan
 * @date 2019-7-24 11:19:39
 */
public interface RewardMoneyService extends BaseService<RewardMoney> {

    /**
     * 分页查询
     *
     * @param rewardMoneyVo 接受参数对象
     * @param pageNum       分页数
     * @param pageSize      每页显示条数
     * @return ReturnResult
     * @author rong yuan
     * @date 2019-7-24 11:19:39
     */
    ReturnResult page(RewardMoneyVo rewardMoneyVo, int pageNum, int pageSize);

    /**
     * 添加或更新
     *
     * @param rewardMoneyVo 参数接受对象
     * @param sysUser       当前用户
     * @return ReturnResult
     * @author rong yuan
     * @date 2019-7-24 11:19:39
     */
    ReturnResult addOrUpdate(RewardMoneyVo rewardMoneyVo, SysUser sysUser);

    /**
     * 根据条件逻辑删除
     *
     * @param rewardMoneyVo 参数接受对象
     * @param sysUser       当前用户
     * @return ReturnResult
     * @author rong yuan
     * @date 2019-7-24 11:19:39
     */
    ReturnResult remove(RewardMoneyVo rewardMoneyVo, SysUser sysUser);

    /**
     * list查询
     *
     * @param rewardMoneyVo 参数接受对象
     * @return List<RewardMoneyVo>
     * @author rong yuan
     * @date 2019/7/25 09:38
     */
    List<RewardMoneyVo> list(RewardMoneyVo rewardMoneyVo);
}